package com.fps.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.fpswork.core.exception.exception.BusinessException;
import com.fpswork.core.model.PageEntity;
import com.fps.web.dao.MminfoDao;
import com.fps.web.model.Mminfo;
import com.fps.web.service.MminfoService;
@Service
@Transactional
public class MminfoServiceImpl implements MminfoService{
    
    @Autowired
    MminfoDao mminfoDao;
    public PageEntity queryMminfoList(PageEntity pageEntity)  throws BusinessException{
     	return mminfoDao.queryMminfoList(pageEntity);
    }
	public Mminfo addMminfo(Mminfo mminfo)  throws BusinessException{
		return mminfoDao.addMminfo(mminfo);
	}
	public Mminfo updateMminfo(Mminfo mminfo)  throws BusinessException{
		return mminfoDao.updateMminfo(mminfo);
	}
	public Mminfo queryMminfoByID(String id)  throws BusinessException{
		return mminfoDao.queryMminfoByID(id);
	}
	public Boolean deleteMminfo(Mminfo mminfo)  throws BusinessException{
		return mminfoDao.deleteMminfo(mminfo);
	}
}
